<template>
  <view class="Mall4j promo-con">
    <view class="suspension-btn" @tap="hanldeScorllTop">
      <image src="https://mall-1312577323.cos.ap-chengdu.myqcloud.com/mall/images/icon/back-to-top.png" />
    </view>
  </view>
</template>

<script>
export default {
  data () {
    return {}
  },
  methods: {
    hanldeScorllTop () {
      uni.pageScrollTo({
        duration: 100,
        scrollTop: 0
      })
    }
  }
}
</script>

<style>
@import "./index.css";
</style>
